<?php
//=======================================
//###################################
// Kayako Web Solutions
//
// Source Copyright 2001-2004 Kayako Web Solutions
// Unauthorized reproduction is not allowed
// License Number: $%LICENSE%$
// $Author: vshoor $ ($Date: 2005/07/07 18:08:00 $)
// $RCSfile: staff_reports.php,v $ : $Revision: 1.2 $ 
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
//###################################
//=======================================


if (!defined("INSWIFT")) {
	trigger_error("Unable to process $PHP_SELF", E_USER_ERROR);
}

require_once ("./modules/troubleshooter/functions_troubleshooter.php");
require_once ("./includes/functions_html.php");
require_once ("./includes/Graph/functions_charts.php");
$template->loadLanguageSection("troubleshooter");

$interface->assignQuickLink($_SWIFT["language"]["popularcategories"], "index.php?_m=troubleshooter&_a=reports&type=popularcategories", "icon_reports.gif");
$interface->assignQuickLink($_SWIFT["language"]["popularsteps"], "index.php?_m=troubleshooter&_a=reports&type=popularsteps", "icon_reports.gif");

/**
* ###############################################
* POPULAR CATEGORIES
* ###############################################
*/
if ($_REQUEST["type"] == "popularcategories")
{
	require_once ("./modules/troubleshooter/report_popularcategories.php");


/**
* ###############################################
* POPULAR TROUBLESHOOTER STEPS
* ###############################################
*/
} else if ($_REQUEST["type"] == "popularsteps") {
	require_once ("./modules/troubleshooter/report_popularsteps.php");


}

?>